package com.easyaccount.dao;

import com.easyaccount.model.Traffic;

import java.util.List;

public interface TrafficMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Traffic record);

    int insertSelective(Traffic record);

    Traffic selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Traffic record);

    int updateByPrimaryKey(Traffic record);

    int insertBatch(List<Traffic> traffics);

    List<Traffic> selectByBillId(Integer billId);
}